package com.czh.auth.infra.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czh.auth.infra.basic.entity.AuthUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户信息表(AuthUser)表数据库访问层
 *
 * @author caozaihui
 * @since 2024-08-28 09:18:54
 */
@Mapper
public interface AuthUserMapper extends BaseMapper<AuthUser> {

     /** 
        * 
        * @param authUser 实例对象
        * @author caozaihui  
        * @description  分页查询数据
        * @date 2024-08-28 09:18:54
        * @return 实例对象
     */
    List<AuthUser> selectAuthUserList(AuthUser authUser);

    Integer countByCondition(AuthUser authUser);

    int updateByUserName(AuthUser authUser);

    List<AuthUser> batchSelectAuthUserList(@Param(("userNameList")) List<String> userNameList);

}

